﻿using System;
using System.Collections.Generic;

using System.Windows;
using System.Windows.Controls;

using System.Windows.Input;
using System.Windows.Navigation;

namespace EagleJournal
{
	public partial class ScreenHelp : UserControl
	{
        public static readonly  RoutedEvent
            InvokeBackButtonClickedEvent = EventManager.RegisterRoutedEvent("InvokeBackButtonClicked", RoutingStrategy.Direct, typeof(RoutedEventHandler), typeof(ScreenHelp));
        public event            RoutedEventHandler
            InvokeBackButtonClicked
        {
            add     { this.AddHandler(InvokeBackButtonClickedEvent, value); }
            remove  { this.RemoveHandler(InvokeBackButtonClickedEvent, value); }
        }

		public ScreenHelp()
		{
			this.InitializeComponent();
		}

        private void ButtonBack_Click(object sender, RoutedEventArgs e)
        {
            this.RaiseEvent(new RoutedEventArgs(InvokeBackButtonClickedEvent));
        }
	}
}